<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
        <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>품목 view 화면</title>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.1.0.js"></script>
<script type="text/javascript">
$(document).ready(function() {
	$("#pList").change(function() {
		location.href="register.do?productCategory="+$("#pList").val();
	});
});
</script>
</head>
<body>
등록할 상품의 품목을 선택하세요 <br>
<select name="li"  id="pList">
<c:forEach items="${requestScope.list }" var="list">
	<option value=" ${ list}">${ list}</option>
	</c:forEach>
</select>


</body>
</html>